it('utf8', () => {
    tests([
        ['licia', [108, 105, 99, 105, 97]],
        ['中文', [228, 184, 173, 230, 150, 135]]
    ]);
});

it('hex', () => {
    tests([['a8ae9bff', 'hex', [168, 174, 155, 255]]]);
});

it('base64', () => {
    tests([['qK6b/w==', 'base64', [168, 174, 155, 255]]]);
});
